package org.zephy.guomi;

import cn.hutool.crypto.SmUtil;

/**
 * SM3是哈希算法 md5,
 */
public class Sm3Test {
    public static void main(String[] args) {
        String fileHash= SmUtil.sm3("this is hello world");
        System.out.println(fileHash);

        String fileHash1=SmUtil.sm3("this is hello world");
        System.out.println(fileHash.equals(fileHash1));
    }
}
